home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Chat & Communication / Digsby build 37 / digsby_setup.exe / lib / oscar / capabilities.pyo (.txt) < prev    next >
Python Compiled Bytecode  |  2008-10-13  |  4KB  |  21 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. from struct import pack
  5. enabled_names = '\ndigsby\n\navatar\n\nichatav_info\n\nfile_xfer\n\nicq_to_aim\nutf8_support\nxhtml_support\nextended_msgs\n\nbuddy_list_transfer\n'.split()
  6. by_name = { }
  7. by_bytes = { }
  8. by_name = dict(avatar = '094613464c7f11d18222444553540000'.decode('hex'), buddy_list_transfer = '0946134b4c7f11d18222444553540000'.decode('hex'), file_xfer = '094613434c7f11d18222444553540000'.decode('hex'), ichatav_info = '094601054c7f11d18222444545535400'.decode('hex'), chat_service = '748f2420628711d18222444553540000'.decode('hex'), file_share = '094613484c7f11d18222444553540000'.decode('hex'), livevideo = '094601014c7f11d18222444553540000'.decode('hex'), voice_chat = '094613414c7f11d18222444553540000'.decode('hex'), camera = '094601024c7f11d18222444553540000'.decode('hex'), games_1 = '0946134a4c7f11d18222444553540000'.decode('hex'), games_2 = '0946134a4c7f11d12282444553540000'.decode('hex'), direct_play = '094613424c7f11d18222444553540000'.decode('hex'), add_ins = '094613474c7f11d18222444553540000'.decode('hex'), icq_to_aim = '0946134d4c7f11d18222444553540000'.decode('hex'), utf8_support = '0946134e4c7f11d18222444553540000'.decode('hex'), rtf_support = '97b12751243c4334ad22d6abf73f1492'.decode('hex'), xhtml_support = '094600024C7F11D18222444553540000'.decode('hex'), direct_im = '094613454c7f11d18222444553540000'.decode('hex'), extended_msgs = '094613494c7f11d18222444553540000'.decode('hex'), miranda = '4d6972616e6461410004033100000002'.decode('hex'), trillian_encrypt = 'f2e7c7f4fead4dfbb23536798bdf0000'.decode('hex'), digsby = 'digsby' + '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', short_caps = '094600004c7f11d18222444553540000'.decode('hex'), route_finder = '094613444c7f11d18222444553540000'.decode('hex'), microphone = '094601034c7f11d18222444553540000'.decode('hex'), aim6_unknown1 = '094601074c7f11d18222444553540000'.decode('hex'), rtc_audio = '094601044c7f11d18222444553540000'.decode('hex'), icq_unknown1 = '563fc8090b6f41bd9f79422609dfa2f3'.decode('hex'), icq6_unknown1 = '178c2d9bdaa545bb8ddbf3bdbd53a10a'.decode('hex'), icq6_unknown2 = '0138ca7b769a491588f213fc00979ea8'.decode('hex'), icq6_unknown3 = '67361515612d4c078f3dbde6408ea041'.decode('hex'), icq6_unknown4 = '1a093c6cd7fd4ec59d51a6474e34f5a0'.decode('hex'), icq6_unknown5 = 'b2ec8f167c6f451bbd79dc58497888b9'.decode('hex'), aim_file_xfer = '0946134c4c7f11d18222444553540000'.decode('hex'), secure_im = '094600014C7F11D18222444553540000'.decode('hex'), new_status_msg = '0946010A4C7F11D18222444553540000'.decode('hex'), realtime_im = '0946010B4C7F11D18222444553540000'.decode('hex'), smart_caps = '094601FF4C7F11D18222444553540000'.decode('hex'))
  9. by_bytes = dict((lambda .0: for k, v in .0:
  10. (v, k))(by_name.items()))
  11. feature_capabilities = []
  12. enabled_capabilities = { }.fromkeys(by_name.keys(), False)
  13. for cap in enabled_names:
  14.     enabled_capabilities[cap] = True
  15.  
  16. for capability, enabled in enabled_capabilities.items():
  17.     if enabled:
  18.         feature_capabilities.append(by_name[capability])
  19.         continue
  20.  
  21.